/* Class14_Sub8_Sub8 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.util.Date;

public class Class14_Sub8_Sub8 extends Class14_Sub8
{
    public static int anInt4214;
    public static int anInt4215;
    public int anInt4216 = 4096;
    public static int anInt4217 = 1;
    public static int anInt4218;
    public static int anInt4219;
    public int anInt4220 = 0;
    public static boolean aBoolean4221 = false;
    public static int anInt4222 = (int) (Math.random() * 17.0) + -8;
    public static Class94 aClass94_4223;
    public static Class124 aClass124_4224
	= Class14_Sub2_Sub2.method263(1178, "m-Ochte mit Ihnen handeln)3");
    
    public static void method516(byte arg0) {
    while_337_:
	do {
	while_336_:
	    do {
		do {
		    try {
			anInt4214++;
			if (!Class133_Sub5.aBoolean3628) {
			    Class112.aClass124Array1875[0]
				= Class7.aClass124_180;
			    Class14_Sub8_Sub38.anInt4729 = 1;
			    Class14_Sub29.aShortArray3262[0] = (short) 1005;
			    RuntimeException_Sub1.aClass124Array2459[0]
				= Class14_Sub8_Sub9.aClass124_4244;
			    if (0 == Class14_Sub8_Sub31.anInt4608) {
				if (Class7_Sub3_Sub1.anInt3714 == 0) {
				    Class14_Sub8_Sub32.anInt4613
					= Class107.anInt1804;
				    Class14_Sub8_Sub33.anInt4629
					= Class14_Sub8_Sub33.anInt4640;
				} else {
				    Class14_Sub8_Sub33.anInt4629
					= Class125_Sub1.anInt3367;
				    Class14_Sub8_Sub32.anInt4613
					= Class139.anInt2230;
				}
			    } else {
				Class14_Sub8_Sub32.anInt4613
				    = Class95.anInt1622;
				Class14_Sub8_Sub33.anInt4629
				    = Class26_Sub2.anInt3299;
			    }
			}
			if (-1 != Class14_Sub2_Sub12.anInt3912)
			    Class14_Sub2_Sub1.method250((Class14_Sub2_Sub12
							 .anInt3912),
							false);
			for (int i = 0;
			     ((i ^ 0xffffffff)
			      > (Class14_Sub17.anInt3012 ^ 0xffffffff));
			     i++) {
			    if (Class14_Sub8_Sub36.aBooleanArray4698[i])
				Class7_Sub2_Sub1.aBooleanArray3703[i] = true;
			    Class103.aBooleanArray1727[i]
				= Class14_Sub8_Sub36.aBooleanArray4698[i];
			    Class14_Sub8_Sub36.aBooleanArray4698[i] = false;
			}
			Class89.aBoolean1409 = true;
			Class14_Sub8_Sub34.anInt4666
			    = Class14_Sub2_Sub20.anInt4064;
			Class14_Sub8_Sub24.anInt4503 = -1;
			Class138.anInt2214 = -1;
			Class141.aClass94_2239 = null;
			if (arg0 == -107)
			    break;
		    } catch (RuntimeException runtimeexception) {
			break while_336_;
		    }
		    return;
		} while (false);
		try {
		    if (Class14_Sub2_Sub12.anInt3912 != -1) {
			Class14_Sub17.anInt3012 = 0;
			Class14_Sub8_Sub22.method594(Class14_Sub20.anInt3094,
						     true, 0,
						     (Class14_Sub2_Sub12
						      .anInt3912),
						     -1, 0, 0,
						     Class83.anInt1340, 0);
		    }
		    Class25.method994();
		    Class14_Sub28.method928(16867);
		    if (!Class133_Sub5.aBoolean3628) {
			if (0 != (Class138.anInt2214 ^ 0xffffffff))
			    Class54.method1218(Class138.anInt2214, -52,
					       Class14_Sub8_Sub24.anInt4503);
		    } else
			Class123.method1663((byte) 118);
		    if ((Class124.anInt2494 ^ 0xffffffff) == -4) {
			for (int i = 0; Class14_Sub17.anInt3012 > i; i++) {
			    if (!Class103.aBooleanArray1727[i]) {
				if (Class7_Sub2_Sub1.aBooleanArray3703[i])
				    Class25.method1009
					(Class9.anIntArray215[i],
					 Class74.anIntArray1135[i],
					 Class110.anIntArray1854[i],
					 Class137.anIntArray2205[i], 16711680,
					 128);
			    } else
				Class25.method1009(Class9.anIntArray215[i],
						   Class74.anIntArray1135[i],
						   Class110.anIntArray1854[i],
						   Class137.anIntArray2205[i],
						   16711935, 128);
			}
		    }
		    Class14_Sub2_Sub11.method314
			((byte) 64,
			 Class14_Sub3.aClass133_Sub1_Sub1_2748.anInt3436,
			 Class14_Sub2_Sub3.anInt3785, Class51.anInt839,
			 Class14_Sub3.aClass133_Sub1_Sub1_2748.anInt3495);
		    Class51.anInt839 = 0;
		} catch (RuntimeException runtimeexception) {
		    break;
		}
		break while_337_;
	    } while (false);
	    Throwable throwable = new Throwable();
	    throw Class14_Sub8_Sub14.method554(throwable,
					       "fl.E(" + arg0 + ')');
	} while (false);
    }
    
    public Class14_Sub8_Sub8() {
	super(1, true);
    }
    
    public static Class124 method517(byte arg0, long arg1) {
    while_338_:
	do {
	    int i;
	    int i_0_;
	    int i_1_;
	    int i_2_;
	    int i_3_;
	    do {
		Class124 class124;
		try {
		    Class146.aCalendar2351.setTime(new Date(arg1));
		    anInt4218++;
		    i = Class146.aCalendar2351.get(7);
		    i_0_ = Class146.aCalendar2351.get(5);
		    i_1_ = Class146.aCalendar2351.get(2);
		    i_2_ = Class146.aCalendar2351.get(1);
		    i_3_ = Class146.aCalendar2351.get(11);
		    if (arg0 > 122)
			break;
		    class124 = null;
		} catch (RuntimeException runtimeexception) {
		    break while_338_;
		}
		return class124;
	    } while (false);
	    Class124 class124;
	    try {
		int i_4_ = Class146.aCalendar2351.get(12);
		int i_5_ = Class146.aCalendar2351.get(13);
		class124 = (Class14_Sub8_Sub7.method515
			    ((new Class124[]
			      { Class7.aClass124Array178[i + -1],
				Class14_Sub8_Sub26.aClass124_4529,
				Class83.method1407(30, i_0_ / 10),
				Class83.method1407(115, i_0_ % 10),
				Class14_Sub8_Sub19.aClass124_4409,
				Class133_Sub6.aClass124Array3642[i_1_],
				Class14_Sub8_Sub19.aClass124_4409,
				Class83.method1407(102, i_2_),
				Class134.aClass124_2570,
				Class83.method1407(12, i_3_ / 10),
				Class83.method1407(84, i_3_ % 10),
				Class62.aClass124_994,
				Class83.method1407(29, i_4_ / 10),
				Class83.method1407(48, i_4_ % 10),
				Class62.aClass124_994,
				Class83.method1407(109, i_5_ / 10),
				Class83.method1407(49, i_5_ % 10),
				Class125_Sub2.aClass124_3379 }),
			     (byte) -31));
	    } catch (RuntimeException runtimeexception) {
		break;
	    }
	    return class124;
	} while (false);
	Throwable throwable = new Throwable();
	throw Class14_Sub8_Sub14.method554(throwable,
					   "fl.G(" + arg0 + ',' + arg1 + ')');
    }
    
    public void method475(int arg0, int arg1, Class14_Sub10 arg2) {
	do {
	    try {
		anInt4215++;
		if (arg1 != 24777)
		    aClass94_4223 = null;
		int i = arg0;
		if (i != 0) {
		    if (1 != i)
			break;
		} else {
		    anInt4220 = arg2.method784((byte) 111);
		    break;
		}
		anInt4216 = arg2.method784((byte) 107);
	    } catch (RuntimeException runtimeexception) {
		throw Class14_Sub8_Sub14.method554(runtimeexception,
						   ("fl.F(" + arg0 + ',' + arg1
						    + ','
						    + (arg2 != null ? "{...}"
						       : "null")
						    + ')'));
	    }
	} while (false);
    }
    
    public static void method518(byte arg0) {
	try {
	    aClass94_4223 = null;
	    aClass124_4224 = null;
	    if (arg0 != 88)
		aClass124_4224 = null;
	} catch (RuntimeException runtimeexception) {
	    throw Class14_Sub8_Sub14.method554(runtimeexception,
					       "fl.B(" + arg0 + ')');
	}
    }
    
    public int[] method484(int arg0, byte arg1) {
	int[] is;
	try {
	    anInt4219++;
	    int[] is_6_ = aClass149_2851.method2014(arg0, (byte) 106);
	    if (arg1 > -58)
		aClass124_4224 = null;
	    if (aClass149_2851.aBoolean2402) {
		int[] is_7_ = method483(0, (byte) -16, arg0);
		for (int i = 0; Class112.anInt1876 > i; i++) {
		    int i_8_ = is_7_[i];
		    is_6_[i]
			= (((anInt4220 ^ 0xffffffff) < (i_8_ ^ 0xffffffff)
			    || (anInt4216 ^ 0xffffffff) > (i_8_ ^ 0xffffffff))
			   ? 0 : 4096);
		}
	    }
	    is = is_6_;
	} catch (RuntimeException runtimeexception) {
	    throw Class14_Sub8_Sub14.method554(runtimeexception,
					       ("fl.A(" + arg0 + ',' + arg1
						+ ')'));
	}
	return is;
    }
    
    public static boolean method519(int arg0, int arg1, int arg2, int arg3,
				    int arg4, Class133 arg5, int arg6,
				    long arg7, boolean arg8) {
	if (arg5 == null)
	    return true;
	int i = arg1 - arg4;
	int i_9_ = arg2 - arg4;
	int i_10_ = arg1 + arg4;
	int i_11_ = arg2 + arg4;
	if (arg8) {
	    if (arg6 > 640 && arg6 < 1408)
		i_11_ += 128;
	    if (arg6 > 1152 && arg6 < 1920)
		i_10_ += 128;
	    if (arg6 > 1664 || arg6 < 384)
		i_9_ -= 128;
	    if (arg6 > 128 && arg6 < 896)
		i -= 128;
	}
	i /= 128;
	i_9_ /= 128;
	i_10_ /= 128;
	i_11_ /= 128;
	return Class14_Sub8_Sub19.method580(arg0, i, i_9_, i_10_ - i + 1,
					    i_11_ - i_9_ + 1, arg1, arg2, arg3,
					    arg5, arg6, true, arg7);
    }
}
